package main

import (
	"lottery_code/bootstrap"
	"lottery_code/web/routes"
)

var port=":8080"

func newApp()*bootstrap.Bootstrapper{
	app:=bootstrap.New("Go抽奖系统","易海斌",routes.Configure)
	app=app.Bootstraps()
	return app
}

func main(){
	app:=newApp()
	app.Listen(port)
}